using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace TestDocToolTip
{
  public partial class MainControl : BaseControl
  {
    public MainControl()
    {
      InitializeComponent();
    }

    private void button2_Click(object sender, EventArgs e)
    {
      Frame frm = new Frame(new MainControl());
      frm.ShowDialog(this);
    }

    private void button1_Click(object sender, EventArgs e)
    {

    }

    private void button3_Click(object sender, EventArgs e)
    {

    }

    private void button1_Click_1(object sender, EventArgs e)
    {
      FrmRelativeLocationExample frm = new FrmRelativeLocationExample();
      frm.ShowDialog();
    }
  }
}
